yfont=11pt,
style={\tt}]
\defineenumeration
[Code]
[title=yes,
alternative=empty,
before=\startCountFramedText,
after=\stopCountFramedText,
left={\somenamedheadnumber{chapter}{current}.}]
\starttext
\startchapter
[title=first]
\startCode
[title={The First Title},
refer
e title.
Amemd the \defineenumeration as follows:
\defineenumeration
[Counter]
[title=yes,
alternative=empty,
before=\startCountFramedText,
after=\stopCountFramedText,
left={\somenamedheadnumber{chapter}{current}:}]
—
Bruce Horrock
Am 20.07.22 um 09:47 schrieb Taco Hoekwater:
Ok, I can access the wiki via Tor and found
\somenamedheadnumber{chapter}{current}
\somenamedheadnumber{chapter}{last}
These are expandable
\someheadnumber[chapter][current]
\someheadnumber[chapter][last]
These are not
\definecolor
justme.com says it would be
>> just me.)
>
> Ok, I can access the wiki via Tor and found
>
> \somenamedheadnumber{chapter}{current}
> \somenamedheadnumber{chapter}{last}
These are expandable
>
> or
>
> \someheadnumber[chapter][current]
> \someheadnumber[cha
*\namedstructurevariable{chapter}{number}/\numberofchapters,
]
and use it for a thumb index...
(I can’t access the wiki ATM; downforeveryoneorjustme.com says it would
be just me.)
Ok, I can access the wiki via Tor and found
\somenamedheadnumber{chapter}{current}
\somenamedheadnumber{chapter}{last
[textcolor] [white]
\startuseMPgraphic{chapter-thumb}
path chap_frame ;
pair pos,a,b ;
picture Chap ;
if \somenamedheadnumber{chapter}{current} > 0 :
curr_chap := \somenamedheadnumber{chapter}{current} ;
else :
curr_chap := 1 ;
the chapter number in order to set up the
> conditional?
Hi MIchael,
this might do the trick:
\starttext
\dorecurse{5}
{\chapter{Chapter \structurenumber}
\dorecurse{5}
{\section{Section \structurenumber}
\doifelse{\somenamedheadnumber{chapter}{current}}{1}
{Th
numbering ('1.0',
'2.0', etc) in \setupheadertexts
[\somenamedheadnumber{section}{current}][...etc].
Sytse Knypstra
On 15-12-15 09:45, Jan Willem Flamma <jwfregis...@icloud.com> wrote:
I ran into the following issue related to figure/float numbering.
I use numbered chapters, sections, subse
=bychapter, prefix=chapter') and the section numbering ('1.0',
'2.0', etc) in \setupheadertexts
[\somenamedheadnumber{section}{current}][...etc].
fwiw: you can control numbering and prefixes at any level and for all
constructs .. there are examples in the test suite
Hans
[\somenamedheadnumber{section}{current}][...etc].
fwiw: you can control numbering and prefixes at any level and for all
constructs .. there are examples in the test suite
Hans
-
Hans Hagen | PRAGMA ADE
\xdef\overview_current_headnumber{\somenamedheadnumber\overviewsection\c!current}%
\setbox\nextbox\hbox{#1}%
\ifx\overview_previous_headnumber\overview_current_headnumber \else
\glet\overview_previous_headnumber\overview_current_headnumber
\setbox\scratchbox\copy
of sections at the current level (equivalent to
\laststructurecounter[...]).
\setuphead[section][textstyle=\tt,page=yes]
\starttext
\dorecurse{2}
{\section{[[#1]]}
\dorecurse{\numexpr#1+2\relax}
{\subsection{[[#1-##1]]}
\starttabulate
\NC First \EQ \somenamedheadnumber
On Fri, 7 Oct 2011, Wolfgang Schuster wrote:
\setuphead[section][textstyle=\tt,page=yes]
\starttext
\dorecurse{2}
{\section{[[#1]]}
\dorecurse{\numexpr#1+2\relax}
{\subsection{[[#1-##1]]}
\starttabulate
\NC First \EQ \somenamedheadnumber{subsection}{first} \NC\NR
\NC
;
fill fullcircle scaled 3cm shifted (skip,skip) ;
StopPage ;
\stopuseMPgraphic
not expandable and typeset ... so you i'll add
\somenamedheadnumber{chapter}{current}
-
Hans Hagen | PRAGMA ADE
14 matches
Mail list logo